<?php

/**
 * Copyright              [HD框架] (C)2011-2012 houdunwang ，Inc. 
 * Encoding               UTF-8 
 * @author                向军
 * Link                   http://www.houdunwang.com       
 * E-mail                 houdunwangxj@gmail.com
 */
class categoryrelationModel extends relationModel {

    public $table = "category";
    public $join = array(
        "model" => array(
            "type" => "belongs_to",
            "foreign_key" => "mid"
        ),
        "category_access" => array(
            "type" => "has_many",
            "foreign_key" => "catid"
        )
    );

}

?>
